package com.ruoyi.game.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户配置对象 game_user_config
 * 
 * @author ruoyi
 * @date 2024-03-23
 */
public class GameUserConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 可看次数 */
    @Excel(name = "可看次数")
    private Long adTotal;

    /** 可提次数 */
    @Excel(name = "可提次数")
    private Long widthTotal;

    /** 已看次数 */
    @Excel(name = "已看次数")
    private Long adTotalReady;

    /** 已提次数 */
    @Excel(name = "已提次数")
    private Long widthTotalReady;

    /** 是否能提 */
    @Excel(name = "是否能提")
    private Integer widthIs;

    /** 是否能看 */
    @Excel(name = "是否能看")
    private Integer adIs;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAdTotal(Long adTotal) 
    {
        this.adTotal = adTotal;
    }

    public Long getAdTotal() 
    {
        return adTotal;
    }
    public void setWidthTotal(Long widthTotal) 
    {
        this.widthTotal = widthTotal;
    }

    public Long getWidthTotal() 
    {
        return widthTotal;
    }
    public void setAdTotalReady(Long adTotalReady) 
    {
        this.adTotalReady = adTotalReady;
    }

    public Long getAdTotalReady() 
    {
        return adTotalReady;
    }
    public void setWidthTotalReady(Long widthTotalReady) 
    {
        this.widthTotalReady = widthTotalReady;
    }

    public Long getWidthTotalReady() 
    {
        return widthTotalReady;
    }
    public void setWidthIs(Integer widthIs) 
    {
        this.widthIs = widthIs;
    }

    public Integer getWidthIs() 
    {
        return widthIs;
    }
    public void setAdIs(Integer adIs) 
    {
        this.adIs = adIs;
    }

    public Integer getAdIs() 
    {
        return adIs;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("adTotal", getAdTotal())
            .append("widthTotal", getWidthTotal())
            .append("adTotalReady", getAdTotalReady())
            .append("widthTotalReady", getWidthTotalReady())
            .append("widthIs", getWidthIs())
            .append("adIs", getAdIs())
            .append("creationTime", getCreationTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
